package Dao;

public class CriteriaProcurement {
		
		private String proMan;
		private String proMaterial;
		private String proPay;
		private String status;
		private String proDate;

		
		public String getProMan() {
			
			if(proMan==null) 
			
				proMan="%%";
			else
				
				proMan="%"+proMan+"%";
			
			return proMan;
		}
		public void setProMan(String proMan) {
			this.proMan = proMan;
		}
		public String getProMaterial() {
			
			if(proMaterial==null) 
				
				proMaterial="%%";
			else
				
				proMaterial="%"+proMaterial+"%";
			
			
			return proMaterial;
		}
		public void setProMaterial(String proMaterial) {
			this.proMaterial = proMaterial;
		}
		public String getProPay() {
			

			if(proPay==null) 
				
				proPay="%%";
			else
				
				proPay="%"+proPay+"%";
			
			
			
			return proPay;
		}
		public void setProPay(String proPay) {
			this.proPay = proPay;
		}
		public String getStatus() {
			
			if(status==null) 
				
				status="%%";
			else
				
				status="%"+status+"%";
			
			
			return status;
		}
		public void setStatus(String status) {
			this.status = status;
		}
		
		public void setProDate(String proDate) {
			this.proDate = proDate;
		}
		
		public String getProDate() {
			
			if(proDate==null)
				proDate="%%";
			else
				proDate="%"+proDate+"%";
			
			return proDate;
		}
		
		
		
		/**
		 * @param proNo
		 * @param proMan
		 * @param proMaterial
		 * @param proPay
		 * @param status
		 * @param proDate
		 */
		public CriteriaProcurement(String proMan, String proMaterial, String proPay, String status,
				String proDate) {
			super();
			this.proMan = proMan;
			this.proMaterial = proMaterial;
			this.proPay = proPay;
			this.status = status;
			this.proDate = proDate;
		}
		@Override
		public String toString() {
			return "CriteriaProcurement [proMan=" + proMan + ", proMaterial=" + proMaterial
					+ ", proPay=" + proPay + ", status=" + status + ", proDate=" + proDate + "]";
		}
		public CriteriaProcurement() {
			
		}
		/**
		 * @param proMan
		 * @param proMaterial
		 * @param proPay
		 * @param status
		 */
		public CriteriaProcurement(String proMan, String proMaterial, String proPay, String status) {
			super();
			this.proMan = proMan;
			this.proMaterial = proMaterial;
			this.proPay = proPay;
			this.status = status;
		}
		/**
		 * @param proMan
		 * @param proMaterial
		 * @param proPay
		 */
		public CriteriaProcurement(String proMan, String proMaterial, String proPay) {
			super();
			this.proMan = proMan;
			this.proMaterial = proMaterial;
			this.proPay = proPay;
		}
		
	}
